{% extends 'public/base.html' %}

{% block 'con' %}
<div class="tpl-content-wrapper">

    <div class="container-fluid am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                <div class="page-header-heading">
                    <span class="am-icon-home page-header-heading-icon"></span> 
                    订单详情
                </div>
            </div>
           
        </div>

    </div>

    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title  am-cf">文章列表</div></div>
                <div class="widget-body  am-fr">
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                        <div class="am-form-group">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <button type="button" class="am-btn am-btn-default am-btn-success">
                                        <span class="am-icon-plus"></span>新增</button>
                                    <button type="button" class="am-btn am-btn-default am-btn-secondary">
                                        <span class="am-icon-save"></span>保存</button>
                                    <button type="button" class="am-btn am-btn-default am-btn-warning">
                                        <span class="am-icon-archive"></span>审核</button>
                                    <button type="button" class="am-btn am-btn-default am-btn-danger">
                                        <span class="am-icon-trash-o"></span>删除</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <form action="" method="">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input name="keywords" type="text" class="am-form-field ">
                            <span class="am-input-group-btn">
                                <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"></button>
                            </span>
                        </div>
                    </div>
                 
                    </form>
                    <div class="am-u-sm-12">
                        <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                            <thead>
                                <tr>
                                    <th>商品图片</th>
                                    <th>用户</th>
                                    <th>商品名称</th>
                                    <th>商品价格</th>
                                    <th>购买数量</th>
                                    <th>操作</th></tr>
                            </thead>
                            <tbody>
                             
                                <tr class="">
                                    <td>
                                        <img src="{{ orderinfo.orderid.uid.pic }}" class="tpl-table-line-img" alt=""></td>
                                    <td class="am-text-middle">{{ orderinfo.orderid.uid.username }}</td>
                                    <td class="am-text-middle">{{ orderinfo.gid.title }}</td>
                                    <td class="am-text-middle">{{ orderinfo.gid.price }}</td>

                                    <td class="am-text-middle">{{ orderinfo.num }}</td>

                                    <td class="am-text-middle">
                                        <div class="tpl-table-black-operation">
                                            <a href="{% url 'myadminorder' %}">
                                                <i class="am-icon-pencil"></i>返回列表
                                            </a>
                                        </div>
                                    </td>
                                </tr>
                           
                           
                            </tbody>
                        </table>
                    </div>
                    </form>

                    <div class="am-u-lg-12 am-cf">
                        <div class="am-fr">
                            <ul class="am-pagination tpl-pagination">
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}